﻿<UserControl x:Class="Matchingo.Modules.AboutScreenModule.Views.AboutScreenView"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" 
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" 
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"              
    VerticalAlignment="Center" HorizontalAlignment="Center" 
    mc:Ignorable="d">
	<UserControl.Resources>
		<Storyboard x:Name="SlideInDownStoryboard">
			<DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="LayoutRoot" Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[3].(TranslateTransform.Y)">
				<SplineDoubleKeyFrame KeyTime="00:00:00" Value="441.1"/>
				<SplineDoubleKeyFrame KeyTime="00:00:00.5000000" Value="0"/>
			</DoubleAnimationUsingKeyFrames>
		</Storyboard>
		<Storyboard x:Name="SlideOutDownStoryboard">
			<DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="LayoutRoot" Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[3].(TranslateTransform.Y)">
				<SplineDoubleKeyFrame KeyTime="00:00:00" Value="0"/>
				<SplineDoubleKeyFrame KeyTime="00:00:00.5000000" Value="441"/>
			</DoubleAnimationUsingKeyFrames>
		</Storyboard>
	</UserControl.Resources>

    <Canvas x:Name="LayoutRoot" 
		    Width="360" Height="430" RenderTransformOrigin="0.5,0.5">
    	<Canvas.RenderTransform>
    		<TransformGroup>
    			<ScaleTransform/>
    			<SkewTransform/>
    			<RotateTransform/>
    			<TranslateTransform/>
    		</TransformGroup>
    	</Canvas.RenderTransform>
    	<Grid Height="414" Width="238" x:Name="MoveableControl" RenderTransformOrigin="0.5,0.5" Canvas.Left="63" Canvas.Top="8">
    		<Grid.RenderTransform>
    			<TransformGroup>
    				<ScaleTransform/>
    				<SkewTransform/>
    				<RotateTransform/>
    				<TranslateTransform/>
    			</TransformGroup>
    		</Grid.RenderTransform>
    		<Grid x:Name="BackgroundMenu" Margin="-16,52,-15,0">
    			<Grid.OpacityMask>
    				<LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
    					<GradientStop Color="#00FF0000"/>
    					<GradientStop Color="#FFFF0000" Offset="0.027"/>
    					<GradientStop Color="#FFFF0000" Offset="0.729"/>
    					<GradientStop Color="#00000000" Offset="1"/>
    				</LinearGradientBrush>
    			</Grid.OpacityMask>
    			<Rectangle Margin="26,0,26,0" Stroke="#FF000000">
    				<Rectangle.Fill>
    					<LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
    						<GradientStop Color="#FF2A3F71"/>
    						<GradientStop Color="#FF08183F" Offset="0.676"/>
    						<GradientStop Color="#FF2A3F71" Offset="1"/>
    					</LinearGradientBrush>
    				</Rectangle.Fill>
    			</Rectangle>
    			<Rectangle Width="26" Stroke="#FF000000" HorizontalAlignment="Right">
    				<Rectangle.Fill>
    					<LinearGradientBrush EndPoint="0.809,0.503" StartPoint="-0.095,0.503">
    						<GradientStop Color="#FF999999"/>
    						<GradientStop Color="#FFFFFFFF" Offset="0.132"/>
    						<GradientStop Color="#FF8D8D8D" Offset="1"/>
    						<GradientStop Color="#FFF9F9F9" Offset="0.854"/>
    					</LinearGradientBrush>
    				</Rectangle.Fill>
    			</Rectangle>
    			<Rectangle Width="26" Stroke="#FF000000" HorizontalAlignment="Left">
    				<Rectangle.Fill>
    					<LinearGradientBrush EndPoint="0.809,0.503" StartPoint="-0.095,0.503">
    						<GradientStop Color="#FF999999"/>
    						<GradientStop Color="#FFFFFFFF" Offset="0.132"/>
    						<GradientStop Color="#FF8D8D8D" Offset="1"/>
    						<GradientStop Color="#FFF9F9F9" Offset="0.854"/>
    					</LinearGradientBrush>
    				</Rectangle.Fill>
    			</Rectangle>
    		</Grid>
    		<Grid x:Name="AboutGrid" Margin="-61,-8,-61,-8">
    			<Button Height="14.978" HorizontalAlignment="Right" Margin="0,122.846,82,0" VerticalAlignment="Top" Width="62" Content="" Opacity="0.18" x:Name="SmartyPTwitterButton" Cursor="Hand" Click="TwitterButton_Clicked" d:LayoutOverrides="Height"/>
    			<Button Height="16" Margin="90,137.824,126,0" x:Name="SPCodingButton" VerticalAlignment="Top" Opacity="0.18" Content="" Cursor="Hand" Click="AuthorWebsiteButton_Clicked"/>
    			<Button Height="16.457" Margin="154,172.735,116,0" x:Name="MatchingoButton" VerticalAlignment="Top" Opacity="0.18" Content="" Cursor="Hand" Click="GameWebsiteButton_Clicked" d:LayoutOverrides="Height"/>
    			<Button Cursor="Hand" Height="14" Margin="74,0,0,43.528" x:Name="CrystalProjectButton" VerticalAlignment="Bottom" Opacity="0.18" Content="" Click="CrystalIconsProjectButton_Clicked" Width="92" HorizontalAlignment="Left" Visibility="Collapsed" />
                <Image HorizontalAlignment="Left" Width="104" Source="../Resources/Silverlight_Logo_104.png" Margin="76,0,0,165" VerticalAlignment="Bottom" Height="39" Cursor="Hand" MouseLeftButtonUp="SilverlightLink_Clicked"/>
    			<TextBlock Text="About" Height="Auto" Width="Auto" FontSize="36" Foreground="#FFFFFFFF" Margin="100.099,68,103.901,0" VerticalAlignment="Top" FontFamily="Portable User Interface" FontWeight="Bold" x:Name="OptionsTextblock" d:LayoutOverrides="Width" TextAlignment="Center"/>
    			<TextBlock Margin="76,122,76.001,0" VerticalAlignment="Top" FontFamily="Trebuchet MS" TextWrapping="Wrap" IsHitTestVisible="False" Height="35" FontSize="13"><Run Foreground="#FFFFFFFF" Text="Matchingo is created by @SmartyP"/><LineBreak/><Run Foreground="#FFFFFFFF" Text="of SmartyPantsCoding.com"/><LineBreak/></TextBlock>
    			<TextBlock Margin="76,158.005,76.001,0" VerticalAlignment="Top" FontFamily="Trebuchet MS" TextWrapping="Wrap" IsHitTestVisible="False" Height="35" FontSize="13"><Run Foreground="#FFFFFFFF" Text="Check out the latest version of Matchingo at Matchingo.com"/></TextBlock>
    			<Grid Margin="96,207.438,86,23.562" d:IsHidden="True"/>
    			<TextBlock Height="35" Margin="76,0,79.507,201.351" VerticalAlignment="Bottom" FontFamily="Trebuchet MS" TextWrapping="Wrap" d:LayoutOverrides="VerticalAlignment" IsHitTestVisible="False" FontSize="13"><Run Foreground="#FFFFFFFF" Text="Matchingo is written in Silverlight. "/><LineBreak/><Run Foreground="#FFFFFFFF" Text="Matchingo is open source."/><LineBreak/><LineBreak/><LineBreak/><Run Foreground="#FFFFFFFF" Text=""/><LineBreak/></TextBlock>
    			<Image Height="39.393" HorizontalAlignment="Right" Margin="0,0,75.286,165" VerticalAlignment="Bottom" Width="104.45" Source="../Resources/CodePlex_Logo.jpg" Stretch="Fill" MouseLeftButtonUp="CodePlexLink_Clicked" Cursor="Hand" d:LayoutOverrides="Width, Height" x:Name="CodePlexImage"/>
    			<TextBlock FontFamily="Trebuchet MS" TextWrapping="Wrap" Height="35" Margin="76.162,0,80.838,122.464" VerticalAlignment="Bottom" IsHitTestVisible="False" x:Name="CreativeCommonsText" FontSize="13"><Run Foreground="#FFFFFFFF" Text="Matchingo is released under a Creative Commons license."/></TextBlock>
				<Image Height="34" Width="210" Margin="76,0,76,88" VerticalAlignment="Bottom" Source="../Resources/cc-logo_250.jpg" Stretch="Fill" x:Name="CreativeCommonsImage" Cursor="Hand" MouseLeftButtonUp="CreativeCommonsLink_Clicked"/>
				<TextBlock FontFamily="Trebuchet MS" TextWrapping="Wrap" Height="35" Margin="76,0,76,50" VerticalAlignment="Bottom" IsHitTestVisible="False" x:Name="MichaelUrvanText" FontSize="13"><Run Foreground="#FFFFFFFF" Text="Facebook integration and enhancements by Michael Urvan"/></TextBlock>
				<Button Height="16" Width="90" Margin="179,0,92,53" x:Name="SPCodingButton2" VerticalAlignment="Bottom" Opacity=".18" Content="" Cursor="Hand" Click="MichaelUrvanWebsiteButton_Clicked"/>
				<TextBlock FontFamily="Trebuchet MS" TextWrapping="Wrap" Height="Auto" Margin="76.162,0,80.838,43.482" x:Name="CrystalIconText" VerticalAlignment="Bottom" IsHitTestVisible="False" FontSize="13" Visibility="Collapsed"><Run Foreground="#FFFFFFFF" Text="Crystal Icons courtesy of the Crystal Project via a GNU license."/></TextBlock>    			
    		</Grid>
    	</Grid>
    </Canvas>
</UserControl>
